package com.yix.service;

import com.yix.entity.User;

import java.util.List;

public interface UserService {
    List<User> getAllUsers();

    User getUserById(Integer id);

    int insertUser(User user);

    int updateUser(User user);

    int deleteUser(Integer id);

    boolean isTableExists(String tableName);

    void createTable();

    void dropTable(String tableName);
}